html {
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: "Microsoft YaHei", sans-serif;
    background: none;
}

img {
    border: none;
    vertical-align: middle;
}

#portal-container {
    width: 100%;
    height: 100%;
}

#portal-content {
    width: 100%;
    height: 100%;
}

#navbar-container {
    width: 100%;
    height: auto;
}

#homepage-container {
    width: 100%;
    height: auto;
}

/* 定义各元素之间的距离 */
.item {
    position: relative;
    margin-bottom: 5px;
}

.item:last-child {
    margin-bottom: 0;
}

/* 顶部导航栏样式 */
.navbar {
    width: 100%;
    height: 40px;
}

.navbar-content {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #017afd;
}

.navbar .navbar-wrapper {
    float: left;
    width: 85%;
    height: 100%;
    overflow: hidden;
}

.navbar .menu-extend {
    float: right;
    width: 15%;
    height: 100%;
    background: url(../img/navbar-extend.png) no-repeat center center;
}

.navbar-ul {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.navbar-ul > li {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    color: #fff;
    opacity: .8;
}

.navbar-ul > li.active {
    font-size: 16px;
    opacity: 1;
}

/* 顶部导航栏展开样式 */
.navbar-extend {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.navbar-extend .extend-header {
    position: fixed;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #f3f3f3;
}

.navbar-extend .extend-header-title {
    float: left;
    margin-left: 20px;
    font-size: 14px;
    color: #58657b;
}

.navbar-extend .extend-header-close {
    float: right;
    width: 45px;
    height: 100%;
    background: url(../img/navbar-close.png) no-repeat center center;
}

.navbar-extend .extend-list {
    margin-top: 40px;
}

.navbar-extend .menu-list-ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-extend .menu-list-ul > li {
}

.extend-list .menu-header {
    padding-left: 20px;
}

.extend-list .menu-title {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #58657b;
}

.extend-list .menu-sub-ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
}

.extend-list .menu-sub-ul > li {
    font-size: 12px;
    color: #58657b;
}

.extend-list .menu-shrink {
    float: right;
    width: 45px;
    height: 40px;
    background: url(../img/menu-shrink.png) no-repeat center center;
}

.extend-list .menu-extend {
    float: right;
    width: 45px;
    height: 40px;
    background: url(../img/menu-extend.png) no-repeat center center;
}

.extend-list .menu-select {
    float: right;
    width: 45px;
    height: 40px;
    background: url(../img/menu-select.png) no-repeat center center;
}

.navbar-extend .menu-divider {
    border-bottom: 1px solid #e1e1e1;
}

.menu-sub-ul > li:last-child > .menu-divider:last-child {
    border-bottom: none;
}

.am-popup {
    position: static !important;
}

::-webkit-scrollbar{
    width: 0;
}


/* 加载中样式 */
._loading {
    display: none;
}

.spinner {
    width: 100px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    text-align: center;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.spinner > div {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #0161c9;
    border-radius: 100%;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes bouncedelay {
    0.1%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bouncedelay {
    0.1%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0)
    }
    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0)
    }
}

/* 元素头样式 */
.header {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #eaeef1;
}

.header .title {
    margin-left: 10px;
    font-size: 14px;
    color: #58657b;
}

/* 元素标签页样式 */
.tab-ul {
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
}

.tab-ul li {
    display: inline-block;
    margin: 0 6px;
    padding: 0 10px;
    font-size: 14px;
    color: #58657b;
}

.tab-ul li.active {
    color: #017afd;
    border-bottom: 1px solid #017afd;
}

/* 更多样式 */
.more {
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.more .icon-more {
    width: 100%;
    height: 100%;
    background: url(../img/item-more.png) no-repeat center center;
}

/* 列表数据样式 */
.data-ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.data-ul > li {
    padding: 5px 5px;
    margin: 0 5px;
    border-bottom: 1px solid #eee;
}

.data-ul > li:last-child {
    border: none;
}

.data .title-div {
    height: 25px;
    line-height: 25px;
}

.data .title {
    float: left;
    max-width: 95%;
    font-size: 14px;
    color: #58657b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data .info-div {
    display: table;
    width: 100%;
    line-height: 25px;
}

.data .username, .data .dept, .data .workflowtype {
    float: left;
    max-width: 50%;
    margin-right: 17px;
    font-size: 12px;
    color: #a8a8a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data .date, .data .time, .data .createdate, .data .workflowcode {
    float: left;
    max-width: 40%;
    font-size: 12px;
    color: #a8a8a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data .time {
    margin-left: 5px;
}

.data .importantleve {
    float: right;
    margin-right: 10px;
    font-size: 12px;
    color: #a8a8a8;
}

.data .clear {
    clear: both;
}

.data .flag1 {
    display: inline-block;
    width: 8px;
    height: 100%;
    background: url(../img/flag_new.png) no-repeat right center;
}

.data .flag2 {
    display: inline-block;
    width: 8px;
    height: 100%;
    background: url(../img/flag_new2.png) no-repeat right center;
}

.data .flag3 {
    display: inline-block;
    width: 8px;
    height: 100%;
    background: url(../img/flag_out.png) no-repeat right center;
}

/* 文档中心左图式样式 */
.data .left-img-list {
    min-height: 65px;
}

.data .left-img {
    float: left;
    width: 30%;
}

.data .left-img div {
    width: 100%;
    height: auto;
    min-height: 65px;
    background-size: 100% 100%;
}

.data .right-list {
    padding-left: 30%;
    margin-left: 10px;
}

.data .right-list .title-div {
    height: 20px;
    line-height: 20px;
}

.data .right-list .no-summary-title {
    float: left;
    max-width: 95%;
    font-size: 14px;
    color: #58657b;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.data .right-list .username {
    margin-right: 5px;
}

.data .right-list .summary-div {
    line-height: 1.5;
    font-size: 12px;
    color: #a8a8a8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

/* 下拉刷新样式 */
#hpWrapper {
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}

#hpScroller {
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 0;
}

#pullDown {
    height: 40px;
    line-height: 40px;
    visibility: hidden;
}

.pullDownLabel {
    text-align: center;
}

.pullDownLabel p {
    margin: 0;
    padding: 0;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    color: grey;
}

#pullDown .pullDownIcon {
    position: absolute;
    left: 45px;
    width: 40px;
    height: 40px;
    background: url(../img/pull-icon@2x.png) 0 0 no-repeat;
    background-size: 40px 80px;
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 250ms;
}

#pullDown .pullDownIcon {
    -webkit-transform: rotate(0deg) translateZ(0);
}

#pullDown.flip .pullDownIcon {
    -webkit-transform: rotate(-180deg) translateZ(0);
}

#pullDown.loading .pullDownIcon {
    display: none;
}

/* 图片轮播样式开始 */
.am-carousel .slick-dots {
    bottom: 10px !important;
}

.am-carousel .slick-dots li {
    width: 20px !important;
    height: 15px !important;
    margin: 0 !important;
}

.am-carousel .slick-dots li button {
    height: 15px !important;
}

.am-carousel .slick-dots li button:before {
    width: auto !important;
    height: 15px !important;
    line-height: 15px !important;
    font-size: 30px !important;
    color: #017afd !important;
}

.am-carousel-wrap-dot > span {
    width: 8px !important;
    height: 8px !important;
}

.am-carousel .slick-slide {
    height: auto !important;
}

/* 文档左图式轮播 */
.leftimg .am-carousel-wrap-dot > span {
    width: 5px !important;
    height: 5px !important;
    display: none;
}

/* 图片轮播样式结束 */